package cn.stylefeng.guns.modular.agv.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * AGV拣货任务明细表
 * </p>
 *
 * @author zhangzh
 * @since 2024-08-06
 */
@TableName("agv_storage_task_detail")
public class AgvStorageTaskDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    /**
     * agv拣货任务ID
     */
    @TableField("storage_task_id")
    private String storageTaskId;

    /**
     * 拣货明细ID
     */
    @TableField("storage_out_detail_id")
    private Long storageOutDetailId;

    /**
     * 库位id
     */
    @TableField("position_id")
    private Long positionId;

    /**
     * 库位编号
     */
    @TableField("position_number")
    private String positionNumber;

    /**
     * 拣货顺序
     */
    @TableField("position_pickingorder")
    private Integer positionPickingorder;

    /**
     * 商品ID
     */
    @TableField("goods_id")
    private Long goodsId;

    /**
     * 商品名称
     */
    @TableField("goods_name")
    private String goodsName;

    /**
     * 商品编号
     */
    @TableField("goods_number")
    private String goodsNumber;

    /**
     * 单位
     */
    @TableField("unit")
    private String unit;

    /**
     * 换算率
     */
    @TableField("rate")
    private BigDecimal rate;

    /**
     * 数量
     */
    @TableField("num")
    private BigDecimal num;

    /**
     * 实拣数量
     */
    @TableField("real_num")
    private BigDecimal realNum;

    /**
     * 是否已拣
     */
    @TableField("picked")
    private String picked;

    /**
     * 拣货时间
     */
    @TableField("storage_time")
    private Date storageTime;

    /**
     * 拣货人账号
     */
    @TableField("storage_user_acct")
    private String storageUserAcct;

    /**
     * 拣货人名称
     */
    @TableField("storage_user_name")
    private String storageUserName;

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public BigDecimal getRate() {
        return rate;
    }

    public void setRate(BigDecimal rate) {
        this.rate = rate;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStorageTaskId() {
        return storageTaskId;
    }

    public void setStorageTaskId(String storageTaskId) {
        this.storageTaskId = storageTaskId;
    }

    public Long getStorageOutDetailId() {
        return storageOutDetailId;
    }

    public void setStorageOutDetailId(Long storageOutDetailId) {
        this.storageOutDetailId = storageOutDetailId;
    }

    public Long getPositionId() {
        return positionId;
    }

    public void setPositionId(Long positionId) {
        this.positionId = positionId;
    }

    public String getPositionNumber() {
        return positionNumber;
    }

    public void setPositionNumber(String positionNumber) {
        this.positionNumber = positionNumber;
    }

    public Integer getPositionPickingorder() {
        return positionPickingorder;
    }

    public void setPositionPickingorder(Integer positionPickingorder) {
        this.positionPickingorder = positionPickingorder;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(String goodsNumber) {
        this.goodsNumber = goodsNumber;
    }

    public BigDecimal getNum() {
        return num;
    }

    public void setNum(BigDecimal num) {
        this.num = num;
    }

    public BigDecimal getRealNum() {
        return realNum;
    }

    public void setRealNum(BigDecimal realNum) {
        this.realNum = realNum;
    }

    public String getPicked() {
        return picked;
    }

    public void setPicked(String picked) {
        this.picked = picked;
    }

    public Date getStorageTime() {
        return storageTime;
    }

    public void setStorageTime(Date storageTime) {
        this.storageTime = storageTime;
    }

    public String getStorageUserAcct() {
        return storageUserAcct;
    }

    public void setStorageUserAcct(String storageUserAcct) {
        this.storageUserAcct = storageUserAcct;
    }

    public String getStorageUserName() {
        return storageUserName;
    }

    public void setStorageUserName(String storageUserName) {
        this.storageUserName = storageUserName;
    }

    @Override
    public String toString() {
        return "AgvStorageTaskDetail{" +
        "id=" + id +
        ", storageTaskId=" + storageTaskId +
        ", storageOutDetailId=" + storageOutDetailId +
        ", positionId=" + positionId +
        ", positionNumber=" + positionNumber +
        ", positionPickingorder=" + positionPickingorder +
        ", goodsId=" + goodsId +
        ", goodsName=" + goodsName +
        ", goodsNumber=" + goodsNumber +
        ", num=" + num +
        ", realNum=" + realNum +
        ", picked=" + picked +
        ", storageTime=" + storageTime +
        "}";
    }
}
